package sortPackage;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-03-12 12:52
 **/
public class InsertSort {
    public static void main(String[] args) {
        int a[] = {3,1,5,7,2,4,9,6};
        new InsertSort().insertSort(a);
    }

    private void insertSort(int[] a) {
        System.out.println("直接插入排序算法");
        int n=a.length;
        int i,j;
        for ( i = 1; i < n; i++) {
            /**
             * temp 为有虚列表中的数
             */
        }
    }
}
